package com.version.manager.entity.Shop;

import com.version.manager.annotaion.OrderColumn;
import com.version.manager.annotaion.StatusColumn;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "shop_goods")
@StatusColumn(name = "goodsStatus")
@OrderColumn(name = "orderNum")
public class shopGoods {
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsCategory() {
        return goodsCategory;
    }

    public void setGoodsCategory(String goodsCategory) {
        this.goodsCategory = goodsCategory;
    }

    public String getGoodsStatus() {
        return goodsStatus;
    }

    public void setGoodsStatus(String goodsStatus) {
        this.goodsStatus = goodsStatus;
    }

    public String getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(String goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public String getGoodsFavPrice() {
        return goodsFavPrice;
    }

    public void setGoodsFavPrice(String goodsFavPrice) {
        this.goodsFavPrice = goodsFavPrice;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    @Column(name = "id")
    @Id
    private String id;
    @Column(name = "goods_name")
    private String goodsName;
    @Column(name = "goods_category")
    private String goodsCategory;
    @Column(name = "goods_status")
    private String goodsStatus;
    @Column(name = "goods_price")
    private String goodsPrice;
    @Column(name = "goods_fav_price")
    private String goodsFavPrice;


    public String getGoodsImage() {
        return goodsImage;
    }

    public void setGoodsImage(String goodsImage) {
        this.goodsImage = goodsImage;
    }
    @Column(name = "goods_image")
    private String goodsImage;
    @Column(name = "order_num")
    private String orderNum;

    public int getIsBanner() {
        return isBanner;
    }

    public void setIsBanner(int isBanner) {
        this.isBanner = isBanner;
    }

    public int getIsWeek() {
        return isWeek;
    }

    public void setIsWeek(int isWeek) {
        this.isWeek = isWeek;
    }

    public int getIsMonth() {
        return isMonth;
    }

    public void setIsMonth(int isMonth) {
        this.isMonth = isMonth;
    }

    /**
     * 滚动栏推荐
     */
    @Column(name = "is_banner")
    private int isBanner;
    /**
     * 本周上新
     */
    @Column(name = "is_week")
    private int isWeek;
    /**
     * 本月精品
     */
    @Column(name = "is_month")
    private int isMonth;

    public String getProductImages() {
        return productImages;
    }

    public void setProductImages(String productImages) {
        this.productImages = productImages;
    }

    /**
     * 商品详细图片
     */
    @Column(name = "product_image")
    private String productImages;

    public String getBannerImage() {
        
        return bannerImage;
    }

    public void setBannerImage(String bannerImage) {
        this.bannerImage = bannerImage;
    }

    /**
     * 滚动栏图片
     */
    @Column(name = "banner_image")
    private String bannerImage;


}
